home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / file_size < prev    next >
Text File  |  1999-07-30  |  392b  |  15 lines

  1. SYNOPSIS
  2.         #define <sys/files.h>
  3.  
  4.         int file_size(string file)
  5.  
  6. DESCRIPTION
  7.         Returns the size of the file in bytes.
  8.  
  9.         Size FSIZE_NOFILE (-1) indicates that the file either does not exist,
  10.         or that it is not readable for the calling object/user.
  11.         Size FSIZE_DIR (-2) indicates that it is a directory.
  12.  
  13. SEE ALSO
  14.         write_file(E), cat(E), get_dir(E)
  15.